import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/util/global.css'
import element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';


Vue.use(element)

import * as filters from '@/util/filters.js'
Object.keys(filters).forEach(key => {
  Vue.filter(key,filters[key])
})

Vue.prototype.$bus = new Vue()

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
